﻿using System;
using System.Data;

namespace WebApiV2.Data.Entity
{
    public abstract class BaseEntity
    {
        public BaseEntity()
        {
            CreateTime = DateTime.Now;
            UpDateTime = DateTime.Now;
            IsActioned = true;
            IsDeleted = false;
        }



        public int Id { get; set; }

        public DateTime CreateTime { get; set; }

        public DateTime UpDateTime { get; set; }

        public bool IsActioned { get; set; }

        public bool IsDeleted { get; set; }
    }
}